Expander: Annotate new()’s label arg as nullable
authorDaniel Boles <dboles@src.gnome.org>
Thu, 14 Sep 2017 20:19:33 +0000 (21:19 +0100)
committerDaniel Boles <dboles@src.gnome.org>
Thu, 14 Sep 2017 20:21:09 +0000 (21:21 +0100)
to match new_with_mnemonic()

gtk/gtkexpander.c

index 8fc88d40c15633e9442ba813d53ad7477f50368a..6e9b4305a8b809a130d5e9686b49ab4934b7fc76 100644 (file)
@@ -957,7 +957,7 @@ gtk_expander_measure (GtkWidget      *widget,
 
 /**
  * gtk_expander_new:
- * @label: the text of the label
+ * @label: (nullable): the text of the label
  *
  * Creates a new expander using @label as the text of the label.
  *